package com.qilin.hscs.hm.strategy;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * Created by 10188 on 2018/4/29.
 */
public class FieldStrategy {

    public static int gIdStrategyCreate(List<Integer> gids) {
        for (int i = 0; i < gids.size(); i++) {
            if (gids.get(i) != i+1) {
                return i+1;
            }
        }
        return 1;
    }
}
